//处理异步请求——异步调用mutations函数 
var actions = {
	yibuadd({commit}){
		setTimeout(function(){
			commit('add')
		},2000)
	},
	yibulogin({commit},name){
		setTimeout(function(){
			commit('login',name)
		},2000)
	}
}

export default actions;